home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / v8n07.arc / LASERLST.DOC < prev    next >
Text File  |  1989-03-13  |  2KB  |  51 lines

  1.  
  2. LASERLST.COM
  3. Command
  4.  
  5. Michael Holmes and Bob Flanders
  6. 1989 No. 7 (Utilities)
  7.  
  8.  
  9. Purpose:    Formats text files so that two standard-sized pages will print
  10. side-by-side on a single landscape mode page when using an HP LaserJet (or
  11. compatible) laser printer.
  12.  
  13. Format:    [d:][path]LASERLST infile [outfile] [/Tn]
  14.     
  15. Remarks:    The infile parameter designates the text file(s) to be printed. 
  16. DOS "wildcards" (* and ?) can be used to designate multiple files, and a drive
  17. and path may also be included as part of infile.
  18.  
  19.     By default, LASERLST sends its output to the standard DOS printing
  20. device, which is normally LPT1:.  The optional outfile parameter can be used to
  21. direct the output either to another DOS device (e.g., LPT2:), or to a disk file
  22. instead.  The optional /Tn switch causes each tab character (ASCII 9) in the
  23. infile to be replaced in the outfile with n spaces.  The default value of n is
  24. 8; other values up to 16 may be used.
  25.  
  26.     The outfile produced by LASERLST contains the requisite formatting and
  27. printing Escape sequences used by the HP LaserJet series printers.  The infile
  28. is printed in landscape mode with two 66-line x 81-character pages on each
  29. physical page.  Files suitable for processing by LASERLST should be ASCII files
  30. that do not contain Escape sequences of their own and that do not require any
  31. specific word processor's formatting codes.  Underlining produced by a backspace
  32. and character overstrike is supported, however. LASERLST may be used with files
  33. whose line lengths exceed 81 characters if it is understood that lines will be
  34. wrapped automatically at their 82nd character and that no provision is made for
  35. word wrap.  LASERLST is especially suitable for printing program listings,
  36. readme files, and rough drafts of text to be edited.
  37.  
  38.     Available for downloading from PC MagNet (see the LASERLST by Modem
  39. sidebar in the published article), LASERLST.COM is already compiled and ready to
  40. run.  As an alternative, LASERLST.COM can be created from either of two program
  41. files that are both printed in the article and are available for downloading
  42. from PC MagNet.  LASERLST.BAS will automatically create LASERLST.COM when run
  43. once in BASIC.  To create LASERLST.COM from the LASERLST.ASM source code
  44. requires use of a macro assembler (IBM or Microsoft, Version 2 or later) and the
  45. following commands:
  46.  
  47. MASM LASERLST;
  48. LINK LASERLST;
  49. EXE2BIN LASERLST LASERLST.COM;
  50.     
  51.